<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../static/header.jsp" %>
<script type="text/javascript">
    $(document).ready(function() {
 
        $("#firma_list").addClass("selected");
   
    });
</script>

<% String myAppIsHere = request.getContextPath(); %>

<c:set var="act"><%= myAppIsHere %>/create/firma.htm</c:set>


<form:form modelAttribute="firma" method="POST" action="${act}">
    <form:hidden path="idFirma"/>
    <table cellpadding="5" cellspacing="0" border="0" width="60%" align="center">
        <tbody>
            <tr>
                <td  align="center" id="td_body">

                    <fieldset>

                        <legend id="legend_galery">Dane firmy
                                <spring:message code="create_invitation"/>
                        </legend>

                        <div id="label_text">
                                 <spring:message code="firma.name"/>
                        </div>
                        <div id="field_object">
                             <form:input path="name" size="73" maxlength="250" />
                              <font color="red"><form:errors path="name" cssClass="errors"/></font>
                        </div>
                        
                        <div id="label_text">
                                 <spring:message code="firstName"/>
                        </div>
                        <div id="field_object">
                             <form:input path="firstName" size="73" maxlength="250" />
                              <font color="red"><form:errors path="firstName" cssClass="errors"/></font>
                        </div>
                        
                        <div id="label_text">
                              <spring:message code="lastName"/>
                        </div>
                        <div id="field_object">
                             <form:input path="lastName" size="73" maxlength="250" />
                             <font color="red"><form:errors path="lastName" cssClass="errors"/></font>
                        </div>
                        
                        <div id="label_text">
                              <spring:message code="email"/>
                        </div>
                        <div id="field_object">
                            <form:input path="email" size="73" maxlength="300" />
                           <font color="red"><form:errors path="email" cssClass="errors"/></font>
                        </div>
                        
                        <div id="label_text">
                             <spring:message code="tel"/>
                        </div>
                        <div id="field_object">
                            <form:input path="tel" size="73" maxlength="50" />
                            <font color="red"><form:errors path="tel" cssClass="errors"/></font>
                        </div>
                        
                        <div id="label_text">
                             <spring:message code="country"/>
                        </div>
                        <div id="field_object">
                            <form:input path="country" size="73" maxlength="50" />
                            <font color="red"><form:errors path="country" cssClass="errors"/></font>
                        </div>
                        
                        <div id="label_text">
                            <spring:message code="city"/>
                        </div>
                        <div id="field_object">
                                <form:input path="city" size="73" maxlength="250" />
                            <font color="red"><form:errors path="city" cssClass="errors"/></font>
                        </div>
                        
                        <div id="label_text">
                            <spring:message code="street"/>
                        </div>
                        <div id="field_object">
                             <form:input path="street" size="73" maxlength="250" />
                            <font color="red"><form:errors path="street" cssClass="errors"/></font>
                        </div>
                        
                        <div id="label_text">
                              <spring:message code="number"/>
                        </div>
                        <div id="field_object">
                             <form:input path="number" size="73" maxlength="250" />
                            <font color="red"><form:errors path="number" cssClass="errors"/></font>
                        </div>
                        <div id="field_simple">
                            <input  type="submit" value="Zapisz" />
                        </div>
                    </fieldset>
                </td>
            </tr>
        </tbody>
    </table> 
</form:form>

<!-- END LOGIN -->
<%@include file="../static/footer.jsp" %>